package org.edu.modules.kwgl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 学生预警信息
 * @Author: jeecg-boot
 * @Date: 2024-01-01
 * @Version: V1.0
 */
@Data
@TableName("ve_jw_cjyj")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ve_jw_cjyj对象", description = "学生预警信息")
public class VeJwCjyj implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private String id;

    /**学生学号*/
    @Excel(name = "学号", width = 15)
    @ApiModelProperty(value = "学生学号")
    private String xh;

    /**学生姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "学生姓名")
    private String xm;

    /**专业*/
    @Excel(name = "专业", width = 15)
    @ApiModelProperty(value = "专业")
    private String zy;

    /**班级*/
    @Excel(name = "班级", width = 15)
    @ApiModelProperty(value = "班级")
    private String bj;

    /**预警原因：1-学分预警，2-不及格门数预警*/
    @Excel(name = "预警原因", width = 15, dicCode = "warning_reason")
    @ApiModelProperty(value = "预警原因：1-学分预警，2-不及格门数预警")
    private Integer warningReason;

    /**预警等级：1-高，2-中，3-低*/
    @Excel(name = "预警等级", width = 15, dicCode = "warning_level")
    @ApiModelProperty(value = "预警等级：1-高，2-中，3-低")
    private Integer warningLevel;

    /**整改要求及期限*/
    @Excel(name = "整改要求及期限", width = 30)
    @ApiModelProperty(value = "整改要求及期限")
    private String rectificationRequirements;

    /**联系人*/
    @Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private String contactPerson;

    /**联系方式*/
    @Excel(name = "联系方式", width = 15)
    @ApiModelProperty(value = "联系方式")
    private String contactInfo;

    /**创建时间*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
} 